//
//  RadioCell.m
//  Leisure
//
//  Created by xalo on 16/6/30.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import "RadioCell.h"


@interface RadioCell ()
@property (weak, nonatomic) IBOutlet UIImageView *leftImageview;
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *uid;
@property (weak, nonatomic) IBOutlet UILabel *desc;
@property (weak, nonatomic) IBOutlet UILabel *count;

@end


@implementation RadioCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}
-(void)setCellWithModel:(RadioModel*)radioModel{
    [self.leftImageview sd_setImageWithURL:[NSURL URLWithString:radioModel.coverimg]];
    self.count.text = radioModel.count.description;
    self.title.text = radioModel.title;
    self.desc.text = radioModel.desc;
    self.uid.text = radioModel.uname;

    
    
}


@end
